package com.zjc.yohoshop.di.modules;

import com.zjc.yohoshop.mvp.contract.CreateOrderFragmentContract;
import com.zjc.yohoshop.mvp.model.CreateOrderFragmentModel;

import dagger.Module;
import dagger.Provides;

@Module
public class CreateOrderFragmentModules {

    private CreateOrderFragmentContract.CreateOrderFragmentIView iView;

    public CreateOrderFragmentModules(CreateOrderFragmentContract.CreateOrderFragmentIView iView) {
        this.iView = iView;
    }

    @Provides
    public CreateOrderFragmentContract.CreateOrderFragmentIView providerIView (){
        return iView;
    }

    @Provides
    public CreateOrderFragmentContract.CreateOrderFragmentIModel providerIModel (){
        return new CreateOrderFragmentModel();
    }
}
